# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-values
_pkgname=values
pkgver=2020.12.3
pkgrel=6
pkgdesc='Create list from input.'
arch=('any')
url='https://pypi.org/project/values/'
license=('custom:UNLICENSE')
depends=('python')
makedepends=('python-setuptools')
#source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
source=("https://web.archive.org/web/20210508134322/https://files.pythonhosted.org/packages/cc/18/952219903bde3175113927866c19b536cfcea3259cd4e3fdacb8604723f6/$_pkgname-$pkgver.tar.gz")
sha512sums=('480c1e75435d990b7e70098d8d76e0cc11806cd103f27526e6aa24e1df4c86f2b6b35ca153716da603051068b3f7102d4ce8e25d8b0d6b62401bfda4ad0bf4b2')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

